<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>对象的增加</title>
</head>
<body>
            <script>
                var people= {
                    name:'小心',
                    age:3,
                    married:'no'
                };
                people.footer = 'yes';          //对象的增加
                console.log(people)
            </script>
</body>
</html>